//
//  UIFont+Extension.swift
//  Poetry
//
//  Created by cheyongzi on 2024/1/17.
//

import UIKit

extension UIFont{
    static func customFont(fontName:String = "STZhongsong",size fontSize: CGFloat)->UIFont{
        return UIFont(name: fontName, size: fontSize) ?? UIFont.systemFont(ofSize: fontSize)
    }
}
